This is a test piece of code (trying to get the service optimiser and CAS/RAS
to work).
